<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Быстрая авторизация</title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<BASE HREF="<?=base_url()?>">
	<link rel="stylesheet" type="text/css" href="<?=config_item('css_path')?>css/login.css?<?=time()?>" />
	<script type="text/javascript" src="<?=config_item('js_path')?>js/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="<?=config_item('js_path')?>js/quick_login.js?<?=time()?>"></script>
	<script type="text/javascript" src="<?=config_item('js_path')?>js/dom.js?<?=time()?>"></script>
	<script language="javascript">
	base_url = '<?=base_url()?>';
	</script>
</head>
<body>

<div class='center' id='fblock' style="width:600px;">
	<form action="" method="post" id='f'>
		<table style="width:100%;">
		<?php if(@$error) {?>
			<tr>
				<td align=center style="color:red" colspan=2><?=$error?></td>
			</tr>
		<?php } ?>
			<tr>
				<td nowrap>Поиск по ID:</td>
				<td><input type='radio' name='search' value='id' style='width:auto;'></td>
				<td width=100%><input type='text' name='id' value='' style='width:100%' onfocus='focusInput(this);' onkeyup="cleanInput('id')" onchange="cleanInput('id')"></td>
			</tr>
			<tr>
				<td nowrap>Поиск по ФИО:</td>
				<td><input type='radio' name='search' value='fio' style='width:auto;'></td>
				<td width=100%><input type='text' name='fio' value='' style='width:100%' onfocus='focusInput(this);' onkeyup="cleanInput('fio')" onchange="cleanInput('fio')"></td>
			</tr>
			<tr>
				<td nowrap>Поиск по E-mail:</td>
				<td><input type='radio' name='search' value='email' style='width:auto;'></td>
				<td width=100%><input type='text' name='email' value='' style='width:100%' onfocus='focusInput(this);' onkeyup="cleanInput('email')" onchange="cleanInput('email')"></td>
			</tr>
			<tr>
				<td>Пароль:</td>
				<td></td>
				<td><input type="password" id="password" name="password" style='width:100%' onkeyup="setDisabledSubmit()" onchange="setDisabledSubmit()" /></td>
			</tr>
			<tr>
				<td align=center colspan=3>
					<input type='button' value='Найти' class='submit' onclick="searchUser(this)">
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input type='submit' value='Войти' class='submit' disabled name='subm'>
				</td>
			</tr>
		</table>
	</form>
</div>


  </body>

  </html>